<?php
/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author  Rémi San
 * @version beta
 */

namespace PsiFramework\Classes\Model\ModelInterface;

/**
 * Classe abstraite d'Objet primitif
 *
 * @package Model
 */
interface IPrimitiveObject
{
    public function serialize(/*boolean*/ $asText=true);
    public function unserialize(/*string*/ $text);
    public function toString();
    public static function getSqlType();
}
